package course8.com.youkeda.model;

public class Course {
    //课程id
    private String id;

    //课程名称
    private String name;

    //课时总数
    private  int sections;

    public Course() {
    }

    public Course(String id, String name, int sections) {
        this.id = id;
        this.name = name;
        this.sections = sections;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSections() {
        return sections;
    }

    public void setSections(int sections) {
        this.sections = sections;
    }
}
